package karileet.meeting.profile.fragment;

import karileet.meeting.profile.ProfileConf;
import karileet.meeting.profile.service.DisableProfileService;
import android.content.Intent;
import android.util.Log;

public class StopDialog extends ScheduleDialogFragment {
	
	public void setTime(long time) {
		ProfileConf pc = new ProfileConf(getActivity());
		pc.setScheduleStop(time);
	}
	
	public long getTime() {
		ProfileConf pc = new ProfileConf(getActivity());
		return pc.getScheduleStop();
	}
	
	public Intent getIntent() {
		Log.d(ProfileConf.APP, "Scheduling service for type: stop");
		Intent alarmIntent = new Intent(getActivity(), DisableProfileService.class);
		return alarmIntent;
	}
}
